// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
package fl.accessibility;
import flash.accessibility.Accessibility;
import flash.accessibility.AccessibilityImplementation;
import flash.accessibility.AccessibilityProperties;
import flash.events.Event;
import fl.core.UIComponent;
import flash.display.MovieClip;
import flash.text.TextField;

extern class AccImpl extends AccessibilityImplementation {
	private static inline var STATE_SYSTEM_NORMAL:UInt = 0x00000000;
	private static inline var STATE_SYSTEM_FOCUSABLE:UInt = 0x00100000;
	private static inline var STATE_SYSTEM_FOCUSED:UInt = 0x00000004;
	private static inline var STATE_SYSTEM_UNAVAILABLE:UInt = 0x00000001;
	private static inline var EVENT_OBJECT_NAMECHANGE:UInt = 0x800C;
	var master:UIComponent;
	var role:UInt;
	public var eventsToHandle(dynamic, null):Array<Dynamic>;
	public static function createAccessibilityImplementation(component:UIComponent):Void;
	public static function enableAccessibility():Void;
	public function new(component:UIComponent):Void;
	override public function get_accRole(childID:UInt):UInt;
	override public function get_accName(childID:UInt):String;
	function getName(childID:UInt):String;
	function getState(childID:UInt):UInt;
	private function getStatusName():String;
	function eventHandler(event:Event):Void;
}

